namespace HavardFjaer.Pushover.Client
{
    public class PushoverValidator : PushoverClientBase
    {
        private const string ValidationEndPoint = "https://api.pushover.net/1/users/validate.{format}";

        public PushoverValidator(string token, string user, ResponseFormat responseFormat) : base(token, user, ValidationEndPoint, responseFormat)
        {
        }

        public string Validate()
        {
            return SendMessage();
        }
    }
}